package com.demo.mappers;
import org.apache.ibatis.annotations.Param;



/**
 * @Description:AI对话消息表:mapper
 * @Date:2025-03-01
 * @author：author
*/
public interface AiMessageMapper<T,P> extends BaseMapper {


	/**
	 * 根据MessageId查询
	 */
	 T selectByMessageId(@Param("messageId") Long messageId);

	/**
	 * 根据MessageId更新
	 */
	 Integer updateByMessageId(@Param("bean")T t, @Param("messageId") Long messageId);

	/**
	 * 根据MessageId删除
	 */
	 Integer deleteByMessageId(@Param("messageId") Long messageId);

}